//
//  JSQMessageModel.h
//  Conversation
//
//  Created by C_HAO on 15/9/28.
//  Copyright © 2015年 CHAOO. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSQMessageMediaData.h"

@interface JSQMessageModel : NSObject

/**
 *  会话ID
 */
@property (copy, nonatomic) NSString *sessionID;
/**
 *  消息ID
 */
@property (copy, nonatomic) NSString *messageID;
/**
 *  发送者ID
 */
@property (copy, nonatomic) NSString *senderId;
/**
 *  发送者
 */
@property (copy, nonatomic) NSString *senderDisplayName;

/**
 *  发送日期
 */
@property (copy, nonatomic) NSDate *date;
/**
 *  MIME类型
 */
@property (copy, nonatomic) NSString *mimeType;
/**
 *  消息类型
 */
@property (assign, nonatomic) NSInteger messageType;
/**
 *  消息状态
 */
@property (assign, nonatomic) NSInteger messageStatus;
/**
 *  文件名
 */
@property (copy, nonatomic) NSString *fileName;
/**
 *  本地文件名
 */
@property (copy, nonatomic) NSString *fileLocalPath;
/**
 *  文件大小
 */
@property (nonatomic, copy) NSString *fileSize;
/**
 *  长度
 */
@property (nonatomic, copy) NSString *mediaDuration;
/**
 *  文本内容
 */
@property (copy, nonatomic) NSString *text;
/**
 *  富文本消息
 */
@property (copy, nonatomic) NSAttributedString *attributedText;


@end
